﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GAE_PI.Models;

namespace GAE_PI.Controllers
{
    public class SetSessionController : Controller
    {
        public ActionResult SetVariable(string key, string value)
        {
            DBModel.getDBM().setCurrentCatalogueString(value);
            return this.Json(new { success = true });
        }
    }
}